<?php

namespace App\Repositories\Teacher;

use App\Models\Teacher\Teacher;
use App\Presenters\Teacher\TeacherPresenter;
use App\Repositories\BaseRepository;
use App\Validators\Teacher\TeacherValidator;
use Prettus\Repository\Criteria\RequestCriteria;


class TeacherRepositoryEloquent extends BaseRepository implements TeacherRepository{

    public function model(){
        return Teacher::class;
    }

    public function validator(){

        return TeacherValidator::class;
    }

    public function boot(){
        $this->pushCriteria(app(RequestCriteria::class));
    }

    public function presenter(){
        return TeacherPresenter::class;
    }
}
